﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DBHelper
{
    public abstract class EntityBase
    {
        internal Dictionary<string, bool> ModifiedColumns;
        private void OnLoaded()
        {
            ModifiedColumns = new Dictionary<string, bool>();
        }
        protected void MarkColumnModified(string column_name)
        {
            if (ModifiedColumns != null)
                ModifiedColumns[column_name] = true;
        }
    }
}
